<?php
/***********************************\
 * 框架核心文件: Common.php
 * 功能：框架的公共函数
 +----------------------------------
 * www.cnblogs.com/SmilingLiuWei
 * SmilingLiuWei@163.com
\***********************************/

/**
 ************** 创建模型对象 *************
 +----------------------------------------
 * $model = M($model_name);
 +----------------------------------------
 */
function M($model_name) {
	$model_name = $model_name.'_Model';
	return new $model_name;
}
